home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000022_anthonypieper@cs.com_Wed Nov 26 14:37:00 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
4KB
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: anthonypieper@cs.com (newexpectuser)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problem in Kermit trying to get a file while sending it at the same time
Date: 26 Nov 2003 10:25:53 -0800
Organization: http://groups.google.com
Lines: 66
Message-ID: <f0bb0f39.0311261025.6fd175b5@posting.google.com>
References: <f0bb0f39.0311250532.1b93aad@posting.google.com> <slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311260731.11d9eb29@posting.google.com>
NNTP-Posting-Host: 209.251.39.194
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1069871154 6856 127.0.0.1 (26 Nov 2003 18:25:54 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 26 Nov 2003 18:25:54 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14698
My main issue is the file(s) I want are on a secure ftp server. This
process has other companies dropping off their files off in a certain
directory, so if they are dropping off a large file in this directory
at the same time I am trying to get the files from this directory, it
seems I am getting only a partial file.
I had thought remembering some protcols cannot "see" files in a
directory until they are 100% finished being dropped off, I'm not sure
if Kermit can handle this situation.
Also, the way I am testing the method of dropping off the file is
using a kermit script to connect to the server and using the send
command (to send from my local area) after doing a rcd command.
> Looking at Case Study #10, this tells me there would need to be two
> scripts running, 1 on the Branch machine to "send" the files and 1 on
> the HQ machine to "set receive" the files.
>
> My case is a little different, my HQ machine is the one running the
> Kermit Script (logging onto the Branch machine, changing to the
> directory where the file resides on the remote machine and doing a
> mget * command), so this example may not help me, unless I broke up
> the scripts into two.
>
> The issue with doing that is the Branch machine is a secure ftp server
> and cannot communicate over to the HQ machine for security reasons.
> Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbs6r9i.oig.fdc@sesame.cc.columbia.edu>...
> > In article <f0bb0f39.0311250532.1b93aad@posting.google.com>,
> > newexpectuser wrote:
> > : I ran across this error as the scenerio describes. Both are trying to
> > : connect using SSH and CKERMIT.
> > :
> > : I am running a Kermit script called DROPOFF trying to send TESTFILE to
> > : a remote server (it is a 2meg file) at the same time I am running a
> > : Kermit PICKUP trying to mget files (including the TESTFILE) from this
> > : same server in the same directory.
> > :
> > : What is happening is, PICKUP ends first and has a partial file of
> > : TESTFILE and DROPOFF gets 74% done (according to Kermit) and then
> > : comes back with the error message "Last error: FAILURE: Error writing
> > : data" and it keeps around the partial file (74% of it).
> > :
> > : I'm not sure why this is happening and how to avoid it. It is a
> > : realtime scenerio where somebody may be dropping off a file in a
> > : directory, while the other script is trying to get all the files out
> > : of this directory.
> > :
> > You answered your own question:
> >
> > : I am running a Kermit script called DROPOFF trying to send TESTFILE to
> > : a remote server (it is a 2meg file) at the same time I am running a
> > : Kermit PICKUP trying to mget files (including the TESTFILE) from this
> > : same server in the same directory.
> >
> > The server does not have permission to write to a file that another
> > process has open for reading. Nor would you want it to! Please read
> > about transaction processing here:
> >
> > http://www.columbia.edu/kermit/case10.html
> >
> > and here:
> >
> > http://www.columbia.edu/kermit/ftpscripts.html#tp
> >
> > to see the kinds of things you need to do.
> >
> > - Frank